package com.hanagent.utils;

public class ConstantUtils {

	public static final int SuperAgentId = 1000000;
	
	// 各级代理
	public static final int LevelSuper = 0; // 公司
	public static final int LevelCompanySource = 1; // 创始代理级别
	public static final int LevelTop = 2; // 总代理级别
	public static final int LevelFirst = 3; // 1级代理级别
	public static final int LevelSecond = 4; // 2级代理
	public static final int LevelThird = 5; // Vip顾客
	
	public static final int LevelTopMoney = 500000/2; // 总代理级别投资额
	public static final int LevelFirstMoney = 65000/2; // 1级代理级别投资额
	public static final int LevelSecondMoney = 16000/2; // 2级代理投资额
 
	//代理商利益的类型
	public static final int MonneyTypeCompanyTurnover = 3; //，3，公司营业额的3%加权分红
	public static final int MonneyTypeSaleFirstAgent10 = 4; //，4，本人新招的平级或越级代理A的进货款的10%
	public static final int MonneyTypeSaleSecAgent5 = 5; //，5，一级二代  代理进货款的5% 或  10%
	public static final int MonneyTypeAixin = 6; // 爱心基金
	public static final int MonneyTypeLvYou = 7; // 旅游基金
	public static final int MonneyTypePostalLevel = 8; // 提现手续费
	public static final int MonneyTypeBalancePay = 9; // 代理商使用余额进货款
	public static final int MonneyTypeBalanceExChange = 10; // 转赠余额
	

	//管理员级别
	public static final int TypeAdminSuper = 1; //全权管理员
	public static final int TypeAdminMoney = 2; // 财务管理员
	public static final int TypeAdminOrder = 3; //订单管理员
	
	//代理商审核状态  0待审核  1已审核  2已驳回
	public static final int StateAgentWaitReView = 0; //0待审核
	public static final int StateAgentPass = 1; //1已审核通过
	public static final int StateAgentRefused = 2; //2已驳回
	
	//代理商订单
	public static final int TypeAgentOrderCustom = 0; //2普通代理商的订单
	public static final int TypeAgentOrderAdd = 2; //0添加代理商的订单
	public static final int TypeAgentOrderUpdateLevel = 1; //1升级代理商的订单
	
	//订单状态                     
	public static final int StateOrderNotPay = 0; //0未支付
	public static final int StateOrderHadPay = 1; //1已支付未审核
	public static final int StateOrderPass = 2; //2已支付已审核通过
	public static final int StateOrderRefused = 3; //3已支付已驳回
	public static final int StateOrderSendGood = 4; //4已发货
	public static final int StateOrderTakeGood = 5; //5已收货
	
	//支付方式 1 微信支付  2支付宝支付  3银行卡转账  4刷卡  5现金  6电子币
	public static final int TypePayWeixin = 1; //1 微信支付
	public static final int TypePayZhifubao = 2; //2支付宝支付
	public static final int TypePayYinhanka = 3; //3银行卡转账
	public static final int TypePayShuaka = 4; //4刷卡
	public static final int TypePayCash = 5; //5现金
	public static final int TypeEMoney = 6; //6电子币
	public static final int TypeBalance = 7; //7余额
	
	//提现类型
	public static final int TypePostalBank = 0; //0银行卡
	public static final int TypePostalEMoney = 1; //1转赠余额
	public static final int TypePostalBalancePay = 2; //2余额支付
	
	//部署说明 1，必须有超级管理员  超级代理商id为0  默认创始代理级别id为2
	
}
